package com.ztjava.member.model;

import com.jfinal.plugin.activerecord.Model;
import com.ztjava.core.HModel;

public class MemberUser extends Model<MemberUser> implements HModel{
	public static MemberUser dao = new MemberUser();
	public static String tablename = "h_member_user";
	
	private String[][] columns = new String[][]{
			new String[]{"group_id","int","11"},
			new String[]{"username","varchar","50"},
			new String[]{"password","varchar","50"},
			new String[]{"nickname","varchar","50"},
			new String[]{"headimg","varchar","100"},
			new String[]{"email","varchar","50"},
			new String[]{"email_auth","varchar","1","F"},
			new String[]{"phone","varchar","30"},
			new String[]{"phone_auth","varchar","1","F"},
			new String[]{"source","varchar","30"},
			new String[]{"register_ip","varchar","30"},
			new String[]{"last_login_time","datetime",""},
			new String[]{"last_login_ip","varchar","30"},
			new String[]{"enable_flag","varchar","1","T"},
			new String[]{"create_user","int","11"},
			new String[]{"update_user","int","11"}
	};
	@Override
	public String[][] getColumns() {
		// TODO Auto-generated method stub
		return columns;
	}
	@Override
	public String getTablename() {
		// TODO Auto-generated method stub
		return tablename;
	}
}
